FROM docker.io/java:8
ADD nian-registry-center.jar nian-registry-center.jar
ENTRYPOINT ["java", "-jar", "/nian-registry-center.jar","--spring.profiles.active=dev"]
EXPOSE 1001